home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / kmdi / global.h next >
Encoding:
C/C++ Source or Header  |  2005-10-10  |  2.7 KB  |  70 lines

  1. /* This file is part of the KDE libraries
  2.    Copyright (C) 2004 Christoph Cullmann <cullmann@kde.org>
  3.    Copyright (C) 2002,2003 Joseph Wenninger <jowenn@kde.org>
  4.  
  5.    This library is free software; you can redistribute it and/or
  6.    modify it under the terms of the GNU Library General Public
  7.    License as published by the Free Software Foundation; either
  8.    version 2 of the License, or (at your option) any later version.
  9.  
  10.    This library is distributed in the hope that it will be useful,
  11.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13.    Library General Public License for more details.
  14.  
  15.    You should have received a copy of the GNU Library General Public License
  16.    along with this library; see the file COPYING.LIB.  If not, write to
  17.    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  18.    Boston, MA 02110-1301, USA.
  19.  
  20.    Based on:
  21.  
  22.    //----------------------------------------------------------------------------
  23.    //    Project              : KDE MDI extension
  24.    //
  25.    //    begin                : 07/1999       by Szymon Stefanek as part of kvirc
  26.    //                                         (an IRC application)
  27.    //    changes              : 09/1999       by Falk Brettschneider to create an
  28.    //                           - 06/2000     stand-alone Qt extension set of
  29.    //                                         classes and a Qt-based library
  30.    //                         : 02/2000       by Massimo Morin (mmorin@schedsys.com)
  31.    //                           2000-2003     maintained by the KDevelop project
  32.    //    patches              : -/2000        by Lars Beikirch (Lars.Beikirch@gmx.net)
  33.    //                         : 01/2003       by Jens Zurheide (jens.zurheide@gmx.de)
  34.    //
  35.    //    copyright            : (C) 1999-2003 by Falk Brettschneider
  36.    //                                         and
  37.    //                                         Szymon Stefanek (stefanek@tin.it)
  38.    //    email                :  falkbr@kdevelop.org (Falk Brettschneider)
  39.    //----------------------------------------------------------------------------
  40. */
  41.  
  42. #ifndef _KMDI_GLOBAL_H_
  43. #define _KMDI_GLOBAL_H_
  44.  
  45. /**
  46.  * @short A namespace for the KMDI library
  47.  */
  48. namespace KMDI
  49. {
  50.   enum TabWidgetVisibility {
  51.     AlwaysShowTabs         = 0,
  52.     ShowWhenMoreThanOneTab = 1,
  53.     NeverShowTabs          = 2
  54.   };
  55.  
  56.   /**
  57.    * The style of the toolview tabs
  58.    */
  59.   enum ToolviewStyle {
  60.    /** Show only icons on the toolview tabs. The visible toolviews contain both the icon and text. */
  61.     IconOnly    = 0,
  62.    /** Show only the text description on the toolview tabs. */
  63.     TextOnly    = 1,
  64.    /** Show both the icon and description on the toolview tabs. */
  65.     TextAndIcon = 3
  66.   };
  67. }
  68.  
  69. #endif
  70.